import request from '../request/request'

// 登录模块
export const userLogin = (data: object) => {
    return request({
        url: '/login/star',
        method: 'post',
        data
    })
}

// 注册模块
export const userUnLogin = (data: object) => {
    return request({
        url: '/unlogin/star',
        method: 'post',
        data
    })
}

export const getMsg = () => {
    return request({
        url: `/page/1`,
        method: 'get'
    })
}